﻿DROP TABLE IF EXISTS `open_acl_action`;
CREATE TABLE `open_acl_action` (
  `action_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `parent_id` int(11) unsigned NOT NULL DEFAULT '0',
  `type` varchar(10) NOT NULL DEFAULT '',
  `action_name` varchar(100) NOT NULL DEFAULT '',
  `action_code` varchar(50) NOT NULL DEFAULT '',
  `sort_order` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `cid` smallint(5) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`action_id`),
  KEY `parent_id` (`parent_id`),
  KEY `type` (`type`),
  KEY `action_code` (`action_code`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC;